﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LapvWeb
{
    public partial class Default : System.Web.UI.Page
    {
        int newsId = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Params["id"] != null)
                int.TryParse(Request.Params["id"], out newsId);

            Response.Write(newsId);
        }
    }
}